-- GENERATED SPELL FOR [Warpwood Stomper] --


function spell0_11465(pUnit, Event) --@War Stomp,Self--
pUnit:FullCastSpellOnTarget(16727,pUnit)
pUnit:RegisterEvent('Sorts_11465', 5315, 1)
end

function Sorts_11465(pUnit, Event)
local choix_sorts_11465 = math.random(0, 0)
if choix_sorts_11465 == 0 then
pUnit:RegisterEvent('spell0_11465', 1, 1)
end
end

function mob11465_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11465', math.random(1500, 3000), 1)
end

function mob11465_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11465_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11465_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11465, 1, 'mob11465_Action')
RegisterUnitEvent(11465, 2, 'mob11465_Leave')
RegisterUnitEvent(11465, 3, 'mob11465_Kill')
RegisterUnitEvent(11465, 4, 'mob11465_Die')
